post = 0
get = 0
logs = '''
111.30.144.7 "POST /mock/login/?t=GET HTTP/1.1" 200 
111.30.144.7 "Get /mock/users/?t=POST HTTP/1.1" 200 
111.13.100.92 "Post /mock/login/ HTTP/1.1" 200 
223.88.60.88 "GET /mock/users/?t=POST HTTP/1.1" 200 
111.30.144.7 "GET /mock/users/ HTTP/1.1" 200 
'''

elements = logs.split('"')
for i in elements:
    if i.upper().startswith("POST"):
        post += 1
    if i.lower().startswith("get"):
        get += 1
print(f"post的次数有{post}次，get的次数有{get}次。")